package com.example.farmeri.ui.users.model;

import java.util.List;

/**
 * Create by weiqishan on 2020/11/7.
 */
public class UserList {

    /**
     * userList : [{"age":"20","credit":1,"email":"134@qq.com","icon":"","id":"086F0AC7865BF9C3C7B450C1722BCB98","identity":"湿度管理员","is_admin":1,"locked":false,"login_name":"wech12","nick_name":"wech12","password":"284bca2f67907d5c758ec92643edfa6324cabcbb","remark":"","request_place":"成都大学","salt":"39f283bb4e4b3a9b","tel":"13413413413"}]
     * count : 40
     */

    private int count;
    private List<UserListBean> userList;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<UserListBean> getUserList() {
        return userList;
    }

    public void setUserList(List<UserListBean> userList) {
        this.userList = userList;
    }

    public static class UserListBean {
        /**
         * age : 20
         * credit : 1
         * email : 134@qq.com
         * icon :
         * id : 086F0AC7865BF9C3C7B450C1722BCB98
         * identity : 湿度管理员
         * is_admin : 1
         * locked : false
         * login_name : wech12
         * nick_name : wech12
         * password : 284bca2f67907d5c758ec92643edfa6324cabcbb
         * remark :
         * request_place : 成都大学
         * salt : 39f283bb4e4b3a9b
         * tel : 13413413413
         */

        private String age;
        private float credit;
        private String email;
        private String icon;
        private String id;
        private String identity;
        private int is_admin;
        private boolean locked;
        private String login_name;
        private String nick_name;
        private String password;
        private String remark;
        private String request_place;
        private String salt;
        private String tel;

        public String getAge() {
            return age;
        }

        public void setAge(String age) {
            this.age = age;
        }

        public float getCredit() {
            return credit;
        }

        public void setCredit(float credit) {
            this.credit = credit;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getIdentity() {
            return identity;
        }

        public void setIdentity(String identity) {
            this.identity = identity;
        }

        public int getIs_admin() {
            return is_admin;
        }

        public void setIs_admin(int is_admin) {
            this.is_admin = is_admin;
        }

        public boolean isLocked() {
            return locked;
        }

        public void setLocked(boolean locked) {
            this.locked = locked;
        }

        public String getLogin_name() {
            return login_name;
        }

        public void setLogin_name(String login_name) {
            this.login_name = login_name;
        }

        public String getNick_name() {
            return nick_name;
        }

        public void setNick_name(String nick_name) {
            this.nick_name = nick_name;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getRequest_place() {
            return request_place;
        }

        public void setRequest_place(String request_place) {
            this.request_place = request_place;
        }

        public String getSalt() {
            return salt;
        }

        public void setSalt(String salt) {
            this.salt = salt;
        }

        public String getTel() {
            return tel;
        }

        public void setTel(String tel) {
            this.tel = tel;
        }

        @Override
        public String toString() {
            return "UserListBean{" +
                    "age='" + age + '\'' +
                    ", credit=" + credit +
                    ", email='" + email + '\'' +
                    ", icon='" + icon + '\'' +
                    ", id='" + id + '\'' +
                    ", identity='" + identity + '\'' +
                    ", is_admin=" + is_admin +
                    ", locked=" + locked +
                    ", login_name='" + login_name + '\'' +
                    ", nick_name='" + nick_name + '\'' +
                    ", password='" + password + '\'' +
                    ", remark='" + remark + '\'' +
                    ", request_place='" + request_place + '\'' +
                    ", salt='" + salt + '\'' +
                    ", tel='" + tel + '\'' +
                    '}';
        }
    }

}
